# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=py3-hg-git
_pkgname="hg-git"
pkgver=0.10.2
pkgrel=1
pkgdesc="Mercurial plugin to pull and push from Git"
url="https://hg-git.github.io"
arch="noarch"
license="GPL-2.0-only"
depends="py3-dulwich"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # No tests.

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
aab8f6d6d7fe9c40a742890c046c8c945e9b53a97218cf8927692b745a641843f58ea8ce30d74957df5036901d6a07cf4907c1fcf4653cc2ae7fc1389a2aa899  hg-git-0.10.2.tar.gz
"
